const Koa=require('koa2');
const app=new Koa();
const body=require('koa-body');
const router=require('./router/router');
const cors = require("koa2-cors");
app.use(cors());
app.use(body({
    multipart:true,
    strict:false,
    formidable:{
        maxFileSize:200*1024*1024
    }
}))
app.use(router.routes(),router.allowedMethods());
app.listen(2005);

